import service from './reauest'
export function user_login(params={}){
    return service.post('/user/login',params);
}
export function index_nav(params){
    return service.get('/index/nav',params);
}
export function index_banner(params){
    return service.get('/index/banner',params);
}
export function user_register(params={}){
    return service.post('/user/register',params);
}
export function index_goodlist(params={}){
    return service.get('/index/goodlist',{params});
}
export function category_list(params={}){
    return service.get('/category/list',params);
}
export function category_subcate(params={}){
    return service.get('category/subcate',{params});
}
export function good_list(params={}){
    return service.get('good/list',{params});
}
export function good_goodinfo(params={}){
    return service.get('good/goodinfo',{params});
}
export function good_search(params={}){
    return service.get('good/search',{params});
}
export function shopcart_add(params={}){
    return service.get('shopcart/add',{params});
}
export function good_hotsearch(params={}){
    return service.get('good/hotsearch',{params});
}


